package com.cssy.xxkj.logic.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Transient;

/**
 * 业务数据的超类
 * @author zeyong
 *
 */
public class LogicBizEntity implements Serializable{
	
	private static final long serialVersionUID = 4721353670036237109L;

	private String id;
	
	private Long removed = Long.valueOf("0");//0:表示不删除,1:表示删除;
	
	private Integer bizVersion;
	
	private String bizMnemonic;
	
	private String bizCreatorName;
	
	private Date bizCreatorDate;
	
	private String bizModifyName;
	
	private Date bizModifyDate;
	
	@Transient
	private Integer bizVersionMark;//标识版本,用于取值/赋值
	
	public LogicBizEntity(){
		
	}
	
	public LogicBizEntity(String id, Long removed, Integer bizVersion,
			String bizCreatorName, Date bizCreatorDate, String bizModifyName,
			Date bizModifyDate) {
		this.id = id;
		this.removed = removed;
		this.bizVersion = bizVersion;
		this.bizCreatorName = bizCreatorName;
		this.bizCreatorDate = bizCreatorDate;
		this.bizModifyName = bizModifyName;
		this.bizModifyDate = bizModifyDate;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Long getRemoved() {
		return removed;
	}

	public void setRemoved(Long removed) {
		this.removed = removed;
	}

	public Integer getBizVersion() {
		return bizVersion;
	}

	public void setBizVersion(Integer bizVersion) {
		this.bizVersion = bizVersion;
	}

	public String getBizCreatorName() {
		return bizCreatorName;
	}

	public void setBizCreatorName(String bizCreatorName) {
		this.bizCreatorName = bizCreatorName;
	}

	public Date getBizCreatorDate() {
		return bizCreatorDate;
	}

	public void setBizCreatorDate(Date bizCreatorDate) {
		this.bizCreatorDate = bizCreatorDate;
	}

	public String getBizModifyName() {
		return bizModifyName;
	}

	public void setBizModifyName(String bizModifyName) {
		this.bizModifyName = bizModifyName;
	}

	public Date getBizModifyDate() {
		return bizModifyDate;
	}

	public void setBizModifyDate(Date bizModifyDate) {
		this.bizModifyDate = bizModifyDate;
	}

	public Integer getBizVersionMark() {
		return bizVersionMark;
	}

	public void setBizVersionMark(Integer bizVersionMark) {
		this.bizVersionMark = bizVersionMark;
	}

	public String getBizMnemonic() {
		return bizMnemonic;
	}

	public void setBizMnemonic(String bizMnemonic) {
		this.bizMnemonic = bizMnemonic;
	}
}
